﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AddArticle.aspx.cs" Inherits="Hxsoft.AppV1.Admin.ArticleManage.AddArticle" %>

<%@ Register Src="Controls/Article.ascx" TagName="Article" TagPrefix="uc" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
	<title>[添加]</title>

	<script type="text/javascript" src="<%# ResolveUrl("~/J/List.js") %>"></script>

	<script language="javascript" type="text/javascript">
	<!--
		function ReloadPage() {
			var btReload = document.getElementById("<%# BtReload.ClientID %>");
			if (btReload)
				btReload.click();
		}
	-->
	</script>

</head>
<body onunload="ReloadOpener();">
	<form id="form1" runat="server">
	<asp:ScriptManager ID="ScriptManager1" runat="server">
	</asp:ScriptManager>
	<div id="MainBody" runat="server" class="FormBody">
		<asp:UpdatePanel ID="UpdatePanel1" UpdateMode="Conditional" ChildrenAsTriggers="false"
			runat="server">
			<ContentTemplate>
				<div class="FormTablesBox">
					<uc:Article ID="UCArticle" runat="server"></uc:Article>
				</div>
			</ContentTemplate>
			<Triggers>
				<asp:AsyncPostBackTrigger ControlID="BtSubmit" EventName="Click" />
			</Triggers>
		</asp:UpdatePanel>
		<div class="ValidationSummaryBox">
			<asp:ValidationSummary ID="VSForm" runat="server"></asp:ValidationSummary>
		</div>
		<div class="ToolBar">
			<asp:Button ID="BtSubmit" runat="server" Text="提交" OnClick="BtSubmit_Click" />
			<input type="button" class="Button" value="预览..." onclick="SubmitPreview(&quot;form1&quot;, &quot;Preview.aspx?_ControlPrefix=<%= UCArticle.ClientID %>&quot;, &quot;_blank&quot;);" />
			<input type="reset" class="Button" value="重置" /></div>
	</div>
	<Hxctr:MessageBox ID="MessageBox1" runat="server" />
	<Hxctr:UpdateProgress ID="UpdateProgress1" runat="server" />
	<span style="display: none;">
		<asp:Button ID="BtReload" runat="server" Text="刷新" OnClick="BtReload_Click" CausesValidation="false" />
	</span>
	</form>
</body>
</html>
